package com.dragon.logical.service.supplies;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dragon.repository.entity.Stock;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 库存表 服务类
 * </p>
 *
 * @author sy
 * @since 2023-11-13
 */
public interface IStockService extends IService<Stock> {

    /**
     * 分页列表
     * @param page
     * @param limit
     * @param search
     * @param warehouseId 仓库id
     * @param categoryId 类别id
     * @return
     */
    Page<Stock> stockList(Integer page, Integer limit, String search, Integer warehouseId, Integer categoryId);

}
